/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.Composition.Impl;

/**
 *
 * @author Nashief
 */
public class Student {
   
    private Person p; 
    public Student()
    {
        p=new Person(); 
        
    } 
     public void setName(String nme)
    {
        p.setName(nme);
    } 
    public void setSurname(String snm)
    {
        p.setSurname(snm);
    } 
    public String getName() 
    {
        return p.getName();
    } 
    public String getSurname() 
    {
        return p.getSurname();
    }
    
}
